From bc04e721d51e149709ab3cfaf5e77ef034511860 Mon Sep 17 00:00:00 2001
From: Rafi Zadanly <zadanlyr@gmail.com>
Date: Mon, 27 Mar 2023 10:17:49 +0700
Subject: invoice, invoice detail, address, create address, edit address,
 wishlist

---
 src/pages/my/address/[id]/edit.jsx | 20 ++++++++++++++------
 1 file changed, 14 insertions(+), 6 deletions(-)

(limited to 'src/pages/my/address/[id]/edit.jsx')

diff --git a/src/pages/my/address/[id]/edit.jsx b/src/pages/my/address/[id]/edit.jsx
index bc5f3471..6706b458 100644
--- a/src/pages/my/address/[id]/edit.jsx
+++ b/src/pages/my/address/[id]/edit.jsx
@@ -1,4 +1,7 @@
 import AppLayout from '@/core/components/layouts/AppLayout'
+import BasicLayout from '@/core/components/layouts/BasicLayout'
+import DesktopView from '@/core/components/views/DesktopView'
+import MobileView from '@/core/components/views/MobileView'
 import addressApi from '@/lib/address/api/addressApi'
 import EditAddressComponent from '@/lib/address/components/EditAddress'
 import IsAuth from '@/lib/auth/components/IsAuth'
@@ -6,12 +9,17 @@ import IsAuth from '@/lib/auth/components/IsAuth'
 export default function EditAddress({ id, defaultValues }) {
   return (
     <IsAuth>
-      <AppLayout title='Ubah Alamat'>
-        <EditAddressComponent
-          id={id}
-          defaultValues={defaultValues}
-        />
-      </AppLayout>
+      <MobileView>
+        <AppLayout title='Ubah Alamat'>
+          <EditAddressComponent id={id} defaultValues={defaultValues} />
+        </AppLayout>
+      </MobileView>
+
+      <DesktopView>
+        <BasicLayout>
+          <EditAddressComponent id={id} defaultValues={defaultValues} />
+        </BasicLayout>
+      </DesktopView>
     </IsAuth>
   )
 }
-- 
cgit v1.2.3

